Cast buckets() to array of strings?

I’m trying to cast the buckets() into an array of strings i.e.

[“bucket1”, “bucket2”, “bucket3”]

//doesn’t work
bucketList = array.from(rows:buckets()) doesn’t seem to work, hinting at a conflict on data types.

How can this be accomplished?

Many thanks in advance.

import "array"
mybuckets = buckets()
|> tableFind(fn: (key) => true)
|> getColumn(column: "name")

array.from(rows: [{_value: display(v: mybuckets)}])