結果 : generate nested dictionary python