static <T>T fromYaml(String yaml, Class<T> clazz) {
        ObjectMapper mapper = new ObjectMapper(new YAMLFactory());
        try {
            return mapper.readValue(yaml, clazz);
        } catch (IOException e) {
            throw new ScraperConfigurationException("Unable to parse given yaml configuration!", e);
        }
    }
interface for basic configuration of scraper
plc4j/tools/scraper/src/main/java/org/apache/plc4x/java/scraper/config/ScraperConfiguration.java