Reformat list of subtasks in custom tasks