private void setServiceSpec(String serviceSpec) throws HyscaleException {
        ObjectMapper mapper = ObjectMapperFactory.yamlMapper();
        try {
            this.root = mapper.readTree(serviceSpec);
        } catch (IOException e) {
            LOGGER.error(e.getMessage());
            throw new HyscaleException(e,ServiceSpecErrorCodes.SERVICE_SPEC_PARSE_ERROR);
        }
    }
Defines {@link ServiceSpec} as tree of JsonNode

@see <a href="https://github.com/hyscale/hspec/blob/master/docs/hyscale-spec-reference.md">Spec Reference</a>
service-spec/service-spec-commons/src/main/java/io/hyscale/servicespec/commons/model/service/ServiceSpec.java