selector serialization