changed graphiteGetJSONString to take a GraphiteQuery instead of discrete values