Functions

Middleware to set the request to respond with JSON type.