public static String implodeMultiline(List<String> lines) {
        if (lines==null) return null;
        return implode(lines.toArray(new String[0]), "\n");
    }
Returns the given list flattened to one with newline between

@return flattened string
vespajlib/src/main/java/com/yahoo/text/StringUtilities.java