arrays to string utility