added complex group test.
refactored serialization to happen along with the other bindings. This enables multiple groupings and nested anonymous type projections.