title: Serialize HashMap as root element with Simple
body: <p>I want to serialize an element that extends HashMap with <a href="http://simple.sourceforge.net/home.php" rel="nofollow">Simple</a>.</p>
  
  <pre><code>@Root(name = "settings")
  @ElementMap(entry="element", key="id", attribute=true, required=true, empty=true)
  public class Settings extends HashMap&lt;String, Object&gt; {
  
      ...
  </code></pre>
  
  <p>Whenever I serialize it, I get no errors, but I also get an empty file that looks like this:</p>
  
  <pre><code>&lt;settings/&gt;
  </code></pre>
  
  <p>Is there any way to do this without creating an inner object instead, and then having to delegate all of the methods to it?</p>