code: private void _serializeMap(PageContext pc, Set test, Map map, StringBuilder sb, boolean serializeQueryByColumns, Set<Object> done) throws ConverterException {
  	sb.append(goIn());
  	sb.append("{");
  
  	Iterator it = map.keySet().iterator();
  	boolean doIt = false;
  	while (it.hasNext()) {
  	    Object key = it.next();
  	    if (doIt) sb.append(',');
  	    doIt = true;
  	    sb.append(StringUtil.escapeJS(key.toString(), '"', charsetEncoder));
  	    sb.append(':');
  	    _serialize(pc, test, map.get(key), sb, serializeQueryByColumns, done);
  	}
  
  	sb.append('}');
      }
docs: serialize a Map (as Struct)
  
  @param map Map to serialize
  @param sb
  @param serializeQueryByColumns
  @param done
  @throws ConverterException