Catching Invalid JSON Parse Errors with Rack Middleware Catching Invalid JSON Parse Errors with Rack Middleware json json