request.json is a method now