title: Java map in a map, REST web Service
body: <p>//
  Hello guys,</p>
  
  <p>So I am making a inbox element, and.. I needed to get field "startDate" from service, but I faced a problem, because all data in this service is "deeply" maped.. </p>
  
  <p>what  I figured out, is :</p>
  
  <pre><code>GenericType&lt;Map&lt;String, Object&gt;&gt; responseType2 = new GenericType&lt;Map&lt;String, Object&gt;&gt;() {};   
  Map&lt;String, Object&gt; data2 = info.readEntity(responseType2);
  
  Map&lt;String, Object&gt; data3 = (Map&lt;String, Object&gt;) data2.get("data");
  
  Map&lt;String, Object&gt; data4 = (Map&lt;String, Object&gt;) data3.get("workflowInstance");
  </code></pre>
  
  <p>And only after all this, I am able to get what I needed..  </p>
  
  <p>Ok, it works, but code looks very redundant ?!</p>
  
  <p>And, what I am hoping to find is, a way to make something like map in a map, or any other way, to make code more efficient?</p>
  
  <p>Thanks in advance.</p>