utility to make querying through the riak http api easier