Correcting the JSON file