getCategoriesWithRoots added so we can get a list of the imported categories after importing