public static <K, V, C extends Map<K, V>> C toPojo(String payload, Class<K> keyKlazz, Class<V> objectKlazz, Class<? extends Map> mapKlazz) {
        try {
            MapType type = OM.getTypeFactory().constructMapType(mapKlazz, keyKlazz, objectKlazz);
            return OM.readValue(payload, type);
        } catch (JsonProcessingException e) {
            throw new UncheckedIOException(e);
        }
    }
@author Marc Savy {@literal <marc@blackparrotlabs.io>}
common/util/src/main/java/io/apiman/common/util/JsonUtil.java