code: public static Map<String, Object> keyValuePairAsMap(String key, Object value) {
      Map<String, Object> paramMap = new HashMap<>();
      paramMap.put(key, value);
      return paramMap;
    }
docs: Convert key value pair to map
  @param key Key
  @param value Value
  @return Map