code: private String _serializeList(List list, Map<Object, String> done, String id) throws ConverterException {
  	// <ARRAY ID="1" SIZE="1"><ITEM INDEX="1" TYPE="STRING">hello world</ITEM></ARRAY>
  	StringBuilder sb = new StringBuilder(goIn() + "<ARRAY ID=\"" + id + "\" SIZE=" + del + list.size() + del + ">");
  	int index;
  	ListIterator it = list.listIterator();
  	while (it.hasNext()) {
  	    // <ITEM INDEX="1" TYPE="STRING">hello world</ITEM>
  	    index = it.nextIndex();
  	    String value = _serialize(it.next(), done);
  	    sb.append(goIn() + "<ITEM INDEX=\"" + (index + 1) + "\" TYPE=\"" + type + "\">");
  	    sb.append(value);
  	    sb.append(goIn() + "</ITEM>");
  	}
  
  	sb.append(goIn() + "</ARRAY>");
  	type = "ARRAY";
  	return sb.toString();
      }
docs: serialize a List (as Array)
  
  @param list List to serialize
  @param done
  @return serialized list
  @throws ConverterException