How are XML attributes and repeated elements converted?
Attributes appear under @attributes. Text-only elements become strings, and repeated siblings with the same qualified name become arrays in child-only elements. For example, <item id="7">Ready</item> becomes {"item":{"@attributes":{"id":"7"},"#text":"Ready"}}.