XML serialization of config file