title: Resttemplate does not deserialize JSON correctly
body: <p>my server outputs the following JSON object: (ContentType = application/json)</p>
  
  <pre><code>{"Name":["Name1","Name2"]}
  </code></pre>
  
  <p>This is my Java code for trying to read that into a POJO.</p>
  
  <p>It creates an instance of the Names class but the array inside is null.</p>
  
  <p>What am I missing here?</p>
  
  <pre><code>restTemplate = new RestTemplate();
  uri = "http://localhost:80/api/names";
  
  Names namesWrapperInstance = restTemplate.getForObject(uri, Names.class);
  
  if(namesWrapperInstance != null &amp;&amp; namesWrapperInstance.getNames() != null) {
    for(String name : namesWrapperInstance.getNames()) {
      System.out.print(name);
    }
  }
  
  @JsonRootName(value = "Name")
  class Names {
    private String[] Names;
  
    public Names() {
  
    }
  
    public String[] getNames() {
      return Names;
    }
  
    public void setNames(String[] Names) {
      this.Names = Names;
    }
  }
  </code></pre>