This is the first MR in our eventual plan to move all the settings to JSON from config/lua.
parse settings from .conf file.
create "sm-settings" metadata and copy settings as key value pairs to it.
put in place "persistent" behavior, control it with a special setting.
when persistent behavior is enabled.