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