private void configureObjectMapperModules(final ObjectMapper objectMapper) {
        objectMapper.registerModule(new JavaTimeModule());
        if (applicationContext != null) {
            objectMapper.registerModule(new DecodableCipherExecutorMapModule(applicationContext));
        }
    }
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