- Added Serialization with support for Switches

- TODO: BasicSerializable should work like SwitchedSerializable