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