title: convert object to json with name properties
body: <p>I'm looking to create a JSON string from a DTO with <code>name</code> and <code>values</code> for each property with <code>Json</code> or/and <code>Jackson</code> annotation
  .
  <strong>My DTO :</strong> </p>
  
  <pre><code>class DTO {
       @??? = "individual.lastName"
       private List&lt;String&gt; lastName = ["LastName1","LastName2"];
       @??? = "individual.firstName" 
       private List&lt;String&gt; firstName = ["FistName1"];
       ...
  }
  </code></pre>
  
  <p><strong>result expected :</strong> </p>
  
  <pre><code>{
  "fields": [
      {
          "name": "individual.lastName",
          "values": [
              "LastName1",
              "LastName2"
          ]
      },
      {
          "name": "individual.firstName",
          "values": [
              "FirstName1"
          ]
      }
  ]
  }
  </code></pre>