public void writeAttributeList(Writer writer, Iterable<? extends Iterable<Tuple2<?, ?>>> attributes) throws IOException {
        if (attributes != null) {
            for (Iterable<Tuple2<?, ?>> alist : attributes) {
                writeAList(writer, alist);
            }
        }
    }