Added array stringify support to perform query and groupby clause