private String collectionsAsString(List<String> list) {
        String str = "( ";
        Iterator<String> iterator = list.iterator();
        while (iterator.hasNext()) {
            String s = iterator.next();
            str += s;
            if (iterator.hasNext()) {
                str += " ,";
            }
        }
        str += " )";
        return str;
    }