Express middleware for response satitation