The first thing you do make a proper backup of your current set up before getting yerself into trouble. You’ll want a way to unfvck everything if, when it all goes sideways:
FYI: LuCI is a web front end to UCI which itself is a CLI front end to the underlying conf files… which are just UTF-8/LF encoded text files.