Improve JSON Parsing exception handler.