pothos-gui: use JSON types directly with DocUtils