trying a different, lower-level http approach
got the query to return a json result
dirty