Configuration serialization