Return a newline-separated String instead of String[] from Java back to Perl code because Inline::Java is slow when accessing Java's arrays