title: Jackson adds backslash in json
body: <p>I'm building REST service on <code>Jersey</code> and using <code>Jackson</code> to produce JSON from java classes of my model. Model with absolutely simple values, I think this is the most typical case. But I get strange result:</p>
  
  <pre><code>[{\"name\":\"Nick\",\"role\":\"admin\",\"age\":\"32\",\"rating\":47}]
  </code></pre>
  
  <p>My expecting result:</p>
  
  <pre><code>[{"name":"Nick","role":"admin","age":"32","rating":47}]
  </code></pre>
  
  <p>My source values of fields does NOT contains any special characters. These are simple words.</p>
  
  <p>There're my Java classes.
  Entity:</p>
  
  <pre><code>public class User {
  
    private String name;
  
    private String role;
  
    private String age;
  
    private Integer rating;
  </code></pre>
  
  <p>Class of rest service:</p>
  
  <pre><code>@ServiceConfig(contextName = "myContext")
  @Path("/myrest")
  public class MyRestService {
  
    private static final String JSON_CONTENT_TYPE = MediaType.APPLICATION_JSON + ";charset=UTF-8";
  
    @Context
    protected HttpServletResponse response;
  
    @GET
    @Path("/users")
    @OpenTransaction
    @Produces({MediaType.APPLICATION_JSON})
    public String findUsers(@QueryParam("department") String department) {
  
      response.setContentType(JSON_CONTENT_TYPE);
      PDTResponse.status(response).sendStatus(Response.Status.OK.getStatusCode());
  
      List&lt;User&gt; users = new ArrayList&lt;&gt;();
      users.add(new User("Nick", "admin", "32", 47));
  
      String jsonInString;
      ObjectMapper mapper = new ObjectMapper();
      try {
          jsonInString = mapper.writeValueAsString(users);
      } catch (JsonProcessingException ex) {
          jsonInString = "thrown exception: " + ex.getMessage();
      }
      return jsonInString;
  }
  </code></pre>
  
  <p>I've tried to use annotation <code>@JsonRawValue</code> for string properties:</p>
  
  <pre><code>@JsonRawValue
  private String name;
  </code></pre>
  
  <p>But result in this case was:</p>
  
  <pre><code>[{\"name\":Nick,\"role\":admin,\"age\":32,\"rating\":47}]
  </code></pre>
  
  <p>And I expect:</p>
  
  <pre><code>[{"name":"Nick","role":"admin","age":"32","rating":47}]
  </code></pre>
  
  <p>It's obvious that Jackson somehow escapes the quotes in result json of response. But why does it do it, and most importantly how to avoid that? By themselves they are just strings! Without any quotes or special characters.</p>
  
  <p>I use <code>Java 7</code> and <code>Jackson 2.6.1</code>. And <code>Postman</code> to test result.
  Any ideas for fix of my problem?</p>