Change de-serialization from string encoding based on regular expression.
Test aggregation of tuples in unit test for QueryOperator.