code: private Map<String, Object> filterUnexpectedKeys(Map<String, Object> inputProps) {
          Map<String, Object> outputProps = new HashMap<String, Object>();
  
          Set<Entry<String, Object>> entries = inputProps.entrySet();
          for (Map.Entry<String, Object> entry : entries) {
              String key = entry.getKey();
              if (EXPECTED_KEYS.contains(key)) {
                  outputProps.put(key, entry.getValue());
              }
          }
          return outputProps;
      }
docs: Reduce the map to the set of expected keys