title: Wrong convert Object from JSON
body: <p>First, sorry for my poor English.</p>
  
  <p>Second, my problem.<br>
  I trying convert to JSON and back this structure:</p>
  
  <pre><code>class Revision{
      private String auth;
      private HashMap&lt;String, List&lt;HashMap&lt;String, Object&gt;&gt;&gt; rev;
  
      public String getAuth(){
          return auth;
  }
  
      public HashMap&lt;String, List&lt;HashMap&lt;String, Object&gt;&gt;&gt; getRev(){
          return rev;
  }
  
      public void setAuth(String auth){
          this.auth = auth;
  }
  
      public void setRev(HashMap&lt;String, List&lt;HashMap&lt;String, Object&gt;&gt;&gt; rev){
          this.rev = (HashMap&lt;String, List&lt;HashMap&lt;String, Object&gt;&gt;&gt;) rev.clone();
  }
  
      public String toString(){
          return "Auth: " + auth + ", rev: " + rev;
  }
  }
  </code></pre>
  
  <p>I do it with this code:</p>
  
  <pre><code>public static void main (String[] argc){
      Gson gson = new Gson();
      Revision revision = new Revision();
  
      HashMap&lt;String, List&lt;HashMap&lt;String, Object&gt;&gt;&gt; HM = new HashMap&lt;String, List&lt;HashMap&lt;String, Object&gt;&gt;&gt;();
      List&lt;HashMap&lt;String, Object&gt;&gt; list = new ArrayList&lt;HashMap&lt;String, Object&gt;&gt;();
      HashMap&lt;String, Object&gt; HMin = new HashMap&lt;String, Object&gt;();
  
      HMin.put("id", 12);
      HMin.put("type", "toster");
      list.add(HMin);
      HM.put("mark", list);
  
      revision.setRev(HM);
      revision.setAuth("ololo");
  
      String json = gson.toJson(revision);
  
      Revision test = new Gson().fromJson(json, Revision.class);
  
      System.out.println(json);
      System.out.println(revision);
      System.out.println(test);
  }
  </code></pre>
  
  <p>In finally I get this result:</p>
  
  <pre><code>{"auth":"ololo","rev":{"mark":[{"id":12,"type":"toster"}]}}
  Auth: ololo, rev: {mark=[{id=12, type=toster}]}
  Auth: ololo, rev: {mark=[{id=java.lang.Object@1c672d0, type=java.lang.Object@19bd03e}]}
  </code></pre>
  
  <p>As you can see, after convertation, Object-type parameters incorrect.<br>
  Please, can you tell me, how I can fix this trouble?</p>
  
  <p>Thank you in advance!</p>