title: How to convert List<Object> into List<Map<String,String>> in java8
body: <p>I know how to convert <code>List&lt;Object&gt;</code> into <code>Map&lt;String,String&gt;</code> as you can
  see in this code:</p>
  
  <pre><code>Map&lt;Long, String&gt; divMap = divs.stream()
    .collect(Collectors.toMap(Div::getId, Div::getName));
  </code></pre>
  
  <p>The output of this is:</p>
  
  <blockquote>
    <p>"1": "A", "2": "B"</p>
  </blockquote>
  
  <p>But I want to return <code>List&lt;Map&lt;String,String&gt;&gt;</code>
          with the output given below:</p>
  
  <blockquote>
    <p>["id":"1",Name="A"] ["id":"2",Name="B"]</p>
  </blockquote>