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