title: Include a list of name value pairs in Jackson object dynamically
body: <p>In my response object, I can easily add a map that Jackson will serialise e.g.</p>
  <pre><code>public class Response {
      String firstName;
      String lastName;
      Map map = ...
  
  }
  </code></pre>
  <p>The JSON will be</p>
  <pre><code>{
      &quot;firstName&quot;: &quot;tony&quot;,
      &quot;lastName&quot;: &quot;lastName&quot;,
      &quot;map&quot;: {}
  }
  </code></pre>
  <p>But say I don't want the word map and I want to dynamically add name value pairs so they are at the same level as firstName and lastName, how do I do that?  Really don't want to extend Map.</p>
  <p>Thanks</p>