docs: private Set<String> retrieveRedactedKeys(JSONObject jsonObject) {
          Set<String> redactedKeySet = new HashSet<>();
          if (jsonObject.has(REDACT_KEY)) {
              Object value = jsonObject.get(REDACT_KEY);
              if (value instanceof JSONArray) {
                  for (Object o : jsonObject.getJSONArray(REDACT_KEY)) {
                      if (o instanceof String) {
                          redactedKeySet.add((String) o);
                      } else {
                          // array, object, null, number, boolean
                          LOGGER.log(Level.WARNING, "Unsupported type " + o.getClass().getName() + " for " + REDACT_KEY + ", please use either a single String value or an Array");
                      }
                  }
              } else if (value instanceof String) {
                  redactedKeySet.add((String) value);
              } else {
                  // object, null, number, boolean
                  LOGGER.log(Level.WARNING, "Unsupported type " + value.getClass().getName() + " for " + REDACT_KEY + ", please use either a single String value or an Array");
              }
          }
          return redactedKeySet;
      }