modified getJSON to rely on purl and do primitive query string parsing.  hooray.