CB-5363 Improve config_json error reporting

This requires a change to packages.json and thus isn't ready for merging.