title: @JsonRootName not work as I want
body: <p><strong>This is my FacilityDTO</strong></p>
  
  <pre><code>@JsonRootName("Facility")
  @XmlAccessorType(XmlAccessType.NONE)
  @XmlType(name = "Facility", propOrder = { "id", "name", "totalQuantity" })
  public class FacilityDTO implements Serializable {
  
  private static final long serialVersionUID = 1L;
  
  @XmlElement(required = true)
  private String id;
  @XmlElement(required = true)
  private String name;
  @XmlElement(required = true)
  private double totalQuantity;
  
  public FacilityDTO() {
  }
  
  public FacilityDTO(Facility facility) {
      this.name = facility.getName();
      this.totalQuantity = facility.getTotalQuantity();
      this.id = facility.getId();
  }// getters setter
  </code></pre>
  
  <p><strong>This is my message body writer</strong></p>
  
  <pre><code>ByteArrayOutputStream out = new ByteArrayOutputStream();
  ObjectMapper mapper = new ObjectMapper();
  mapper.registerModule(new Jdk7Module());
  mapper.configure(SerializationFeature.WRAP_ROOT_VALUE, true);
  mapper.writeValue(out, object);
  int bytesCount = out.size();
  byte[] bytes = out.toByteArray();
  entityStream.write(bytes);
  entityStream.flush();
  </code></pre>
  
  <p><strong>The output of JSON format is like this</strong>
  <img src="https://i.stack.imgur.com/L2Bi1.png" alt="enter image description here"></p>
  
  <p><strong>My Questions are:</strong></p>
  
  <ol>
  <li>Why the results seem not correct? I was put @JsonRootName("Facility") and also enable the wrap root feature.</li>
  <li>Any part I miss?</li>
  </ol>