@SuppressWarnings("rawtypes")
    public static JavaType constructCollectionType(Class<? extends Collection> collectionClass, Class<?> elementClass) {
        return objectMapper().getTypeFactory().constructCollectionType(collectionClass, elementClass);
    }
{@link RawFlag} using Jackson's {@link JsonNode}.

@author hakonhall
flags/src/main/java/com/yahoo/vespa/flags/JsonNodeRawFlag.java