Report JSON syntax errors properly