Changed exception message for invalid JSON