What does the result contain?
XML attributes and repeated child elements do not map perfectly to plain JSON keys. This converter keeps attributes in a predictable object and turns repeated elements into arrays so the output remains practical for debugging.