code: public static Map<String, Object> generateMap(InputStream inputStream) {
          logger.trace("Converting XML document [{}]");
          Map<String, Object> map = asMap(inputStream);
  
          logger.trace("Generated JSON: {}", map);
          return map;
      }
docs: Extracting XML content. See #185: https://github.com/dadoonet/fscrawler/issues/185
  @param inputStream The XML Stream
  @return The XML Content as a map