support for array-of-structs for csv export