When you export data either as a CSV or Excel, it should include the subtasks.