Fix array to string conversion - issue #404