Middleware for parsing incoming Django requests for JSON