my $task = $rs_task->create({ name => 'Second task', subtask => { title => 'First subtask', .... } });