Which is still a single string...
That's my point -- if @okn wants to return more than one "thing" from a KM AS action they'll have to create, and later parse, their own data structure. Lines, tab-delimted, CSV (careful of commas in the data!), JSON, XML... Whatever a) suits the data and b) they're comfortable with.
The same applies to JXA, shell script, and other similar actions of course.
I know you know that, but I'm labouring the point in case it helps others who stumble across this thread.