Storing an Array<var> in ValueTree - what am i doing wrong?

Ok, just noticing that arrays can be stored, but not exported as XML (?). Even though it has been a recommendation here:

So, what’d be the way to go here ?