title: Class for serialization into XML with different node structure in list
body: <p>I want to create a serializable <code>C#</code> class that would serialize into:</p>
  
  <pre><code>&lt;metadata&gt;
      &lt;entry key=""&gt;
          &lt;dimensionInfo&gt;
              &lt;enabled&gt;false&lt;/enabled&gt;
          &lt;/dimensionInfo&gt;
      &lt;/entry&gt;
      &lt;entry key=""&gt;false&lt;/entry&gt;
  &lt;/metadata&gt;
  </code></pre>
  
  <p>Can you help me? I can't handle different <code>entry</code> node structure:/ Too hard for me:P</p>