configurable serialization config