title: customising serialisation of java collections using xstream
body: <p>I have an object that needs to be serialised as XML, which contains the following field:</p>
  
  <pre><code>List&lt;String&gt; tags = new List&lt;String&gt;();
  </code></pre>
  
  <p>XStream serialises it just fine (after some aliases) like this:</p>
  
  <pre><code>&lt;tags&gt;
    &lt;string&gt;tagOne&lt;/string&gt;
    &lt;string&gt;tagTwo&lt;/string&gt;
    &lt;string&gt;tagThree&lt;/string&gt;
    &lt;string&gt;tagFour&lt;/string&gt;
  &lt;/tags&gt;
  </code></pre>
  
  <p>That's OK as far as it goes, but I'd like to be able to rename the <code>&lt;string&gt;</code> elements to, say, <code>&lt;tag&gt;</code>. I can't see an obvious way to do that from the alias documentation on the XStream site. Am I missing something obvious?</p>