Rack Middleware: Find and replace on response