if the JSON file is broken, handle it