Added name of exception to JSONError.