title: RestSharp response content is always in XML format when Json is expected
body: <p>I have a simple REST service in which ResponseFormat of all methods set to Json. When I use RestSharp client, I always receive the response in XML. But when I am using Fiddler to call the same methods, I am receiving response in Json as expected.</p>
  
  <p>And one more interesting thing is that the calls made from RestSharp client are not logged in Fiddler. So I cannot check what is going on.</p>
  
  <p>This is my service:</p>
  
  <pre><code>[ServiceContract]
  public interface IService1
  {          
      [WebInvoke(UriTemplate = "Create", Method = "POST", ResponseFormat = WebMessageFormat.Json)]
      SampleItem Create(SampleItem instance);        
  
      [WebGet(UriTemplate = "Get/{id}", ResponseFormat = WebMessageFormat.Json)]
      SampleItem Get(string id);       
  }
  </code></pre>
  
  <p>And this is SimpleItem class:</p>
  
  <pre><code>public class SampleItem
  {
          public string Id { get; set; }
          public string StringValue { get; set; }
  }
  </code></pre>
  
  <p>and this is how i am making call suing RestSharp client:</p>
  
  <pre><code>var request = new RestRequest("Create", Method.POST);
  var newItem = new SampleItem { Id = "12347", StringValue = "Value 1" };
  request.RequestFormat = DataFormat.Json;
  request.AddBody(newItem);
  var responce = client.Execute&lt;SampleItem&gt;(request);
  var respObj = responce.Data;
  Console.WriteLine("Id:{0}, StringValue:{1}", respObj.Id, respObj.StringValue);
  </code></pre>
  
  <p>I am using RestSharp version 104.4.</p>
  
  <p>Is there something I need to set on the client to be able to receive response in Json?</p>