title: Jackson complex list serialization
body: <p>I'm experementing with Jackson serialization/deserialization.
  For instance, I have such class:</p>
  
  <pre><code>class Base{
      String baseId;
  }
  </code></pre>
  
  <p>And I want to serialize List objs;
  To do it with jackson, I need to specify a list's elements real type, due to the java type erasure. 
  This code will work:</p>
  
  <pre><code>List&lt;Base&gt; data = getData();
  return new ObjectMapper().writerWithType(TypeFactory.collectionType(List.class, Base.class)).writeValueAsString(data);
  </code></pre>
  
  <p>Now, I want to serialize more complex class:</p>
  
  <pre><code>class Result{
       List&lt;Base&gt; data;
  }
  </code></pre>
  
  <p>How should I tell Jackson to properly serialize this class?</p>