AsJson() can be use to annotate query with a JSON subquery