public static String jqString(String value, String expression) {
        return H2Functions.jq(value, expression, JsonNode::asText);
    }
@Test
    public void jqString() {
        String jqString = H2Functions.jqString("{\"a\": \"b\"}", ".a");
        assertThat(jqString, is("b"));

        // on arrays, it will use the first element
        jqString = H2Functions.jqString("{\"labels\":[{\"key\":\"a\",\"value\":\"aValue\"},{\"key\":\"b\",\"value\":\"bValue\"}]}", ".labels[].value");
        assertThat(jqString, is("aValue"));
    }