putting encode/decode ControlEvent lists inside ControlEvent