chore(rest): rename embedded tasks to 'task'