[python] How to append data to a json file?