Kevin - 2009-08-11

I have this XML
<e>  <a>text</a>  <a>text</a> </e>

when I use XMLSerializer to do the conversion to JSON, i got
{"e": [

the array name 'a' is missing...

but if I have <e id='2'>  <a>text</a>  <a>text</a> </e>
I got
{"e": {
    "@id": "2",
    "a":     [

"a" is back.. Is there is a way to always have my array name regardless if the element has an attribute or not?