Module: transforms a JS Array into a single String of newline-separated elements.