Inform the user about json parser issues

If something is broken in the global scope definitions or meta data the
JSON parser isn't able to localize it and just posts the whole JSON
block.
Since we can't do much about this we show an explanation instead.
Allow json validation without a description store
Implement unit tests for JSON error handling