Data migration for categories to tags