Return response errors in JSON for api routes