serialize base class contents