I have created a custom module using the migration module.
I have created a separate table where i store all the data for the migration.
The terms are in a field in this format using a comma separator: Term,Sub Term, Sub Sub Term, ETC
Usually there is a 4-5 Term hierarchy.