Added support for JSON as the request body