How to map given JSON to DTO
<p>I've the following JSON</p>

<pre><code>{
   "status": "OK",
   "years": [
       ["current_products", "actual_tariff"],
       [ 2012, 2013]
   ]
}
</code></pre>

<p>I'd like to have a class describing given JSON, so that I'll be able to serialize/deserialize it to/from java object using <code>fasterxml</code>'s <code>ObjectMapper</code>. I've tried to use <code>@JsonUnrwapped</code> but the serialized result is completely different</p>

<pre><code>public class ExampleDto {

    public String     status;
    public List&lt;Year&gt; years;

    public static class Year {

        @JsonUnwrapped
        public List&lt;String&gt; info;
        @JsonUnwrapped
        public List&lt;String&gt; years;
    }
}

// writing object to JSON value results to
// {"status":"OK","years":[{"info":["current","aktuelle"],"years":["2012","2013"]}]}
</code></pre>

<p>I know that JSON structure is broken, but how can I have a proper mapping for it?</p>