docs: public JSONObject putOnce(String key, Object value) throws JSONException {
          if (key != null && value != null) {
              if (this.opt(key) != null) {
                  throw new JSONException("Duplicate key \"" + key + "\"");
              }
              return this.put(key, value);
          }
          return this;
      }