public ObjectMapper toObjectMapper() {
        val mapper = determineMapperInstance();
        val objectMapper = initialize(mapper);
        
        val allCustomizers = getObjectMapperCustomizers();
        configureInjectableValues(allCustomizers, objectMapper);
        configureObjectMapperModules(objectMapper);
        allCustomizers.forEach(customizer -> customizer.customize(objectMapper));
        
        return objectMapper;
    }
Produce an object mapper for YAML serialization/de-serialization.

@return the object mapper
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/serialization/JacksonObjectMapperFactory.java