SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 1)
   ExpressionList (children 2)
    Literal \'{"id":1,"foo":["bar"]}\' (alias a)
    Function jsonMergePatch (alias b) (children 1)
     ExpressionList (children 2)
      Identifier a
      Function toJSONString (children 1)
       ExpressionList (children 1)
        Function map (children 1)
         ExpressionList (children 2)
          Literal \'foo\'
          Function arrayPushBack (children 1)
           ExpressionList (children 2)
            Function arrayMap (children 1)
             ExpressionList (children 2)
              Function lambda (children 1)
               ExpressionList (children 2)
                Function tuple (children 1)
                 ExpressionList (children 1)
                  Identifier x
                Function JSONExtractString (children 1)
                 ExpressionList (children 1)
                  Identifier x
              Function JSONExtractArrayRaw (children 1)
               ExpressionList (children 2)
                Identifier a
                Literal \'foo\'
            Literal \'baz\'
