title: RestTemplate return json string like html. How can convert it to Model?
body: <p>I have URL <code>http://test/getUser</code></p>
  
  <p>This uerl return json string like html. When I call this url in browser I get JSON but from <code>restTemplate</code> I get this JSON like <code>String</code> </p>
  
  <p>I do it:</p>
  
  <pre><code> String forObject = restTemplate.getForObject("http://test/getUser", String.class);
          ObjectMapper mapper = new ObjectMapper();
          Users users = mapper.readValue(forObject, Users.class);
  </code></pre>
  
  <p>But I want next:</p>
  
  <pre><code>Users users = restTemplate.getForObject("http://test/getUser", Users.class);
  </code></pre>