code: static private void astifyMap(StringBuilder strb, java.util.Map<?,?> map) {
      strb.append("{");
      if (map != null && map.size() > 0) {
        boolean isFirst = true;
        for (java.util.Map.Entry<?, ?> entry: map.entrySet()) {
          if (isFirst) {
            isFirst = false;
          } else {
            strb.append(", ");
          }
          strb.append("\"");
          strb.append(entry.getKey().toString());
          strb.append("\"");
          strb.append(":");
          astifyObject(strb, entry.getValue());
        }
      }
      strb.append("}");
    }
docs: TODO: collection for set, list