Protect against bad JSON on the client
Change JSON parse warning to error