Fix mistype in ToggleSerializer

use : instead of ; in case statement