settings: support StructVal in MakeVal()