Coding tips
Python Write JSON to File With Pretty Print (Tested)
Save a Python dict as a readable JSON file with json.dump(indent=4), keep £ and é as they are, handle datetimes, overwrite safely and append the right way.