Awesome sanitize middleware - (care of Alex!)