What you are looking for is the Query JSON With SQL Resource. Is basically uses SQL to query JSON and it can do JOINs.