code: public static Map<String, Object> load(InputStream input) {
          Yaml yaml = new Yaml();
          Object rawYamlObj = yaml.load(input);
          @SuppressWarnings("unchecked")
          Map<String, Object> yamlObj = (Map<String, Object>) rawYamlObj;
          return yamlObj;
      }
docs: this method does not close the stream