Easy fix for the occasional bad JSON parse