Convert "Collection" to array

Hello, I use the following formula {{flatten(toArray(1.variants))}} to convert an array of Collections to an array and then flatten it to a text file.

But the input I get is [Collection], [Collection], [Collection], [Collection], [Collection]

I don’t understand why the Collection is not converted to array. Can someone help? Thanks