This is my xml property.
Step 1: Fetch items from props.datasource1 where datasource1 is my key.
const { items } = props.datasource1;
Step 2: Get list by using below syntax.
var listOfObjects = items.map(item => item[Object.getOwnPropertySymbols(item)[0]]._jsonData);
If you want print all attributes list then you can do this.
for (let i = 0; i < listOfObjects.length; i++) {
console.log(listOfObjects[i].attributes)
}