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