結果 : how to write a dictionary to a json file in python