core/src/main/java/io/fabric8/maven/core/util/YamlUtil.java
private static Map<String, Object> getFlattenedMap(Map<String, Object> source) {
        Map<String, Object> result = new LinkedHashMap<>();
        buildFlattenedMap(result, source, null);
        return result;
    }
private static Map<String, Object> getFlattenedMap(Map<String, Object> source) {
        Map<String, Object> result = new LinkedHashMap<>();
        buildFlattenedMap(result, source, null);
        return result;
    }
Build a flattened representation of the Yaml tree. The conversion is compliant with the thorntail spring-boot rules.