private static Module getCasJacksonModule() {
        val casModule = new SimpleModule();
        casModule.addDeserializer(URI.class, new URIDeserializer());
        return casModule;
    }
Initialize.

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