docs: public static ChaincodeCollectionConfiguration fromYamlStream(InputStream configStream) throws InvalidArgumentException, ChaincodeCollectionConfigurationException {
  
          logger.trace("ChaincodeCollectionConfiguration.fromYamlStream...");
  
          // Sanity check
          if (configStream == null) {
              throw new InvalidArgumentException("ConfigStream must be specified");
          }
  
          Yaml yaml = new Yaml();
  
          @SuppressWarnings ("unchecked")
          List<Object> map = yaml.load(configStream);
  
          JsonArrayBuilder builder = Json.createArrayBuilder(map);
  
          JsonArray jsonConfig = builder.build();
          return fromJsonObject(jsonConfig);
      }