Add support for groupby on properties of types such as DateTimeOffset