A middleware to force JSON requests?