However, the changeSet will be a different property than .data
.
This post might be helpful for your use case
You could try something like this:
const tableData = formatDataAsArray( table1.data )
return tableData.map((row, index) => {
const changeset = table1.changeSet[index] || {};
const changesetString = JSON.stringify(changeset);
return {
...row,
changeset: changesetString
}
})