docs: @SuppressWarnings("unchecked") // yaml.load API returns raw Map
    public static Map<String, Object> loadStream(InputStream inputStream) {
      LOG.fine("Reading config stream");
  
      Yaml yaml = new Yaml();
      Map<Object, Object> propsYaml = (Map<Object, Object>) yaml.load(inputStream);
      LOG.fine("Successfully read config");
  
      Map<String, Object> typedMap = new HashMap<>();
      for (Object key: propsYaml.keySet()) {
        typedMap.put(key.toString(), propsYaml.get(key));
      }
  
      return typedMap;
    }