refactor to remove category_name and category_slug from topic hashes