code: private String _serializeMap(String name, Map map, StringBuilder sb, Set<Object> done) throws ConverterException {
  
  	if (useShortcuts) sb.append("{}");
  	else sb.append("new Object();");
  	Iterator it = map.keySet().iterator();
  	while (it.hasNext()) {
  	    Object key = it.next();
  	    String skey = StringUtil.toLowerCase(StringUtil.escapeJS(key.toString(), '"'));
  	    sb.append(name + "[" + skey + "]=");
  	    _serialize(name + "[" + skey + "]", map.get(key), sb, done);
  	    // sb.append(";");
  	}
  	return sb.toString();
      }
docs: serialize a Map (as Struct)
  
  @param name
  @param map Map to serialize
  @param done
  @param sb2
  @return serialized map
  @throws ConverterException