FSM - Fix issue in FSMInstance serialization