Convierte XML en una estructura JSON predecible.
El conversor construye un árbol XML y agrupa elementos repetidos en arrays.