Collapse markers

serialize the current fsm state and data in one marker to save space in workflow history