docs: private void _serializeQuery(Query query, StringBuilder sb, Set<Object> done) throws ConverterException {
  
  	// Collection.Key[] keys = query.keys();
  	Iterator<Key> it = query.keyIterator();
  	Key k;
  	sb.append(goIn());
  	sb.append("query(");
  
  	deep++;
  	boolean oDoIt = false;
  	int len = query.getRecordcount();
  	while (it.hasNext()) {
  	    k = it.next();
  	    if (oDoIt) sb.append(',');
  	    oDoIt = true;
  	    sb.append(goIn());
  	    sb.append(QUOTE_CHR);
  	    sb.append(escape(k.getString()));
  	    sb.append(QUOTE_CHR);
  	    sb.append(":[");
  	    boolean doIt = false;
  	    for (int y = 1; y <= len; y++) {
  		if (doIt) sb.append(',');
  		doIt = true;
  		try {
  		    _serialize(query.getAt(k, y), sb, done);
  		}
  		catch (PageException e) {
  		    _serialize(e.getMessage(), sb, done);
  		}
  	    }
  	    sb.append(']');
  	}
  	deep--;
  
  	sb.append(')');
  
      }