Better reporting of bad JSON data