code: private String _serializeStruct(String name, Struct struct, StringBuilder sb, Set<Object> done) throws ConverterException {
  	if (useShortcuts) sb.append("{};");
  	else sb.append("new Object();");
  
  	Iterator<Entry<Key, Object>> it = struct.entryIterator();
  	Entry<Key, Object> e;
  	while (it.hasNext()) {
  	    e = it.next();
  	    // lower case ist ok!
  	    String key = StringUtil.escapeJS(Caster.toString(e.getKey().getLowerString(), ""), '"');
  	    sb.append(name + "[" + key + "]=");
  	    _serialize(name + "[" + key + "]", e.getValue(), sb, done);
  	}
  	return sb.toString();
      }
docs: serialize a Struct
  
  @param name
  @param struct Struct to serialize
  @param done
  @param sb2
  @return serialized struct
  @throws ConverterException