[INTERNAL] m.Switch: use a configuration object for private parameters

Change-Id: I3649dcb3835626c5bec042c2a071224426ec5ccc
Merge "[INTERNAL] m.Switch: use a configuration object for private parameters"