結果 : build a nested dictionary python