title: java- how to use hashmaps for response data = a struct of keyphrases each with a single item list of the original keyphrase
body: <p>I am trying to connect via an XML RPC call to an API that takes as input a list of phrases, and gives as output-- "Echoes back a struct of keyphrases each with a single item list of the original keyphrase."</p>
  
  <p>I am trying to use regular hashmap parsing code in the following way--</p>
  
  <pre><code>  hMap = (HashMap&lt;String, Integer&gt;) untypedResult;
  
          Set set = hMap.entrySet();
  
          Iterator i = set.iterator();
  
          while(i.hasNext()){
            Map.Entry me = (Map.Entry)i.next();
            resp.getWriter().println(me.getKey() + " : " + me.getValue() );
          }
  </code></pre>
  
  <p>The output that I am getting is as follows--</p>
  
  <p>Response for GetThesaurusKeyPhrases----
  mp3 : [Ljava.lang.Object;@76c3358b
  britney spears : [Ljava.lang.Object;@9f07597</p>
  
  <p>How do I obtain the values correctly? What I think is that I should parse each value (the me.getvalue part) correctly... but I am confused on how to go about doing this... Any help would be appreciated.</p>