Sanitize request bodies with middleware.