Tweaked error messages on JSON parsing.