Your combine function appears to return a two dimensional array. Therefore it cannot simply be concatenated into a string.

It looks like the second dimension has a size of 1.