Recognize block ends of JSON arrays

Before that the regex only found curly brackets and not square brackets.
Inform the user about json parser issues

If an opening bracket is missing somewhere in the JSON data the parser
always shows the first block.
Since we can't do much about this we show a warning if this occurs.