Converted all requests to JSON