private <T> T unmarshalAs(String valueAsString, Class<T> asClass) throws IOException {
        return mapper.reader(asClass).readValue(valueAsString);
    }
Unmarshall the given type of object.
@param valueAsString
@param asClass
@throws IOException
gateway/engine/ispn/src/main/java/io/apiman/gateway/engine/ispn/io/RegistryCacheMapWrapper.java