Use JSON encoding on all requests.