query only the interesting jobs without querying MBs of JSON