Adding AnonymousType to allow serialization of anonymous objects