I've been using the attended sysupgrade and I guess I'm lucky that there's no migration needed at all. All settings are preserved.
Also, I think the configuration file is already robust enough; you can edit them using a text editor like vim or edit them using the UI or edit them using the CLI tool. I cannot think of anything to make the configuration file even more robust.