first commit of simple json query code that Joan wrote