basic domain serialization