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