Making serialization namespace configurable