XML module always returns array for single tag

I have the following XML

<car>
<make>Volkswagen</make>
</car>

After processing it through the “XML” module, I receive this output bundle:

[
    {
        "car": {
            "make": [
                "Volkswagen"
            ]
        }
    }
]

I don’t understand why “make” is an array? How can get this structure (without this unnecessary array)?

[
    {
        "car": {
            "make": "Volkswagen"
        }
    }
]

Thanks in advance

Hi,
I have the same exact problem.
Have you been able to figure this out?
Thanks

I think the best way is to use the GET function to get value from this array.

1 Like