messed around with joining a json store with a query result.