Print useful message when jsonEscapeCore throws an error.

We had a couple of issues with UTF8-characters in JSON strings. These errors typically pop up once you receive live traffic and it's nearly impossible to debug if you don't know which are the offending strings...