[python] How to append in a json file in Python?