You can create a simple custom report that invokes records from the subject entity and you can use this report to export the subject tree to excel.
If you can retrieve the hierarchy you can use CTE or HierarchyId funcionality of SQL Server