title: How do I rename XStream list elements?
body: <p>I have a model that looks like:</p>
  
  <pre><code>@XStreamAlias("article")
  class Article {
    List&lt;String&gt; tags;
    List&lt;String&gt; categories;
  }
  </code></pre>
  
  <p>XStream serializes to XML that looks like:</p>
  
  <pre><code>&lt;article&gt;
    &lt;tags&gt;
      &lt;string&gt;foo&lt;/string&gt;
    &lt;/tags&gt;
    &lt;categories&gt;
      &lt;string&gt;bar&lt;/string&gt;
    &lt;/categories&gt;
  &lt;/article&gt;
  </code></pre>
  
  <p>My question is how can I make it so that <code>&lt;string&gt;foo&lt;/string&gt;</code> becomes <code>&lt;tag&gt;foo&lt;tag&gt;</code> and <code>&lt;string&gt;bar&lt;/string&gt;</code> becomes <code>&lt;category&gt;bar&lt;/category&gt;</code>?  I'm unable to change the structure of my model since I am using the Morphia ODM to create the Article instances (article must contain <code>List&lt;String&gt;</code>).</p>