* Nicer error handling in JSON