ACT-1558: Now both execution-listeners and task-listeners are written to
XML in case of a UserTask.