Adapted Category and Module import to use the migration tool xml module.