docs: private boolean addExtractorOrDynamicValue(List<Object> list, Object extractor, String header, boolean commaMightBeNeeded) {
          if (extractor != null) {
              if (commaMightBeNeeded) {
                  list.add(",");
              }
              list.add(header);
              list.add(extractor);
              return true;
          }
          return commaMightBeNeeded;
      }