mock switch: use defauldict instead of explicit checks
mock switch: use defauldict instead of explicit checks

This makes things a lot more concise

meng-sun/hil,kylehogan/haas,henn/hil_sahil,SahilTikale/switchHaaS,henn/hil_sahil,henn/haas,kylehogan/hil,henn/hil,henn/hil,CCI-MOC/haas,kylehogan/hil,SahilTikale/haas,meng-sun/hil