Handle old site-config API, where switches is an Object (bug 1082179)

https://bugzilla.mozilla.org/show_bug.cgi?id=1082179