title: RestSharp: Unable to cast object of type 'RestSharp.JsonArray' to type 'System.Collections.Generic.IDictionary`
body: <p>Can't fix an issue so far: Unable to cast object of type 'RestSharp.JsonArray' to type 'System.Collections.Generic.IDictionary`2[System.String,System.Object -- this error I can see here, in the response itself:</p>
  
  <pre><code>var response = client.Execute&lt;ThirdPartySuggester&gt;(request);
  </code></pre>
  
  <p>but the NullReferenceExeption I get here:</p>
  
  <pre><code>var name = response.Data.Name;
  </code></pre>
  
  <p>This is my test class:</p>
  
  <pre><code>    public class Class1
      {
          [Theory]
          [InlineData("apple", "en-us")]
          public void SearchTest(string searchPhrase, string language)
          {
              var client = new RestClient("https://test_site/api");
              var request = new RestRequest("/thirdparty/suggester?searchPhrase={search_key}&amp;marketLocale={language_id}", Method.GET);
              request
                  .AddUrlSegment("search_key", searchPhrase)
                  .AddUrlSegment("language_id", language);
              var response = client.Execute&lt;ThirdPartySuggester&gt;(request);
  
              var name = response.Data.Name;
              var manufacturer = response.Data.Manufacturer;
              var deviceType = response.Data.DeviceType;
              var searchKey = response.Data.SearchKey;
  
  .....
  </code></pre>
  
  <p>The response I get contains this data:</p>
  
  <pre><code>[
    {
      "name": "iPhone 7 Plus",
      "manufacturer": "Apple",
      "deviceType": "smartphone_tablet",
      "searchKey": "apple_iphone_7_plus"
    },
    {
      "name": "iPhone 4s",
      "manufacturer": "Apple",
      "deviceType": "smartphone_tablet",
      "searchKey": "apple_iphone_4s"
    },
    {
      "name": "iPhone 6",
      "manufacturer": "Apple",
      "deviceType": "smartphone_tablet",
      "searchKey": "apple_iphone_6"
    },
    {
      "name": "iPod Touch 8th Generation",
      "manufacturer": "Apple",
      "deviceType": "smartphone_tablet",
      "searchKey": "apple_ipod_touch_8th_generation"
    },
    {
      "name": "iPhone 7",
      "manufacturer": "Apple",
      "deviceType": "smartphone_tablet",
      "searchKey": "apple_iphone_7"
    }
  ] 
  </code></pre>
  
  <p>Here is an implementation class of what I'm trying to deserialize:</p>
  
  <pre><code>public class ThirdPartySuggester
  {
      public string Name { get; set; }
      public string Manufacturer { get; set; }
      public string DeviceType { get; set; }
      public string SearchKey { get; set; }
  }
  </code></pre>
  
  <p>I would appreciate any help from you, guys!</p>