initial work on wrapping libjq instead of using a pipe