Add protobuf serialization to Groups