Move json-schema.middleware to http.