gen/1 generates all valid pairs {P,V} where P is a JSON Pointer and V
is its derreferenced value in a given JSON value. This can be used in
a query list comprehension as a query language.