moodle2: export topic workflow state