docs: public Map<String, Object> toMap() {
          Map<String, Object> results = new HashMap<String, Object>();
          for (Entry<String, Object> entry : this.entrySet()) {
              Object value;
              if (entry.getValue() == null || NULL.equals(entry.getValue())) {
                  value = null;
              } else if (entry.getValue() instanceof JSONObject) {
                  value = ((JSONObject) entry.getValue()).toMap();
              } else if (entry.getValue() instanceof JSONArray) {
                  value = ((JSONArray) entry.getValue()).toList();
              } else {
                  value = entry.getValue();
              }
              results.put(entry.getKey(), value);
          }
          return results;
      }