Missing import
Fix duplicate removal for lists containing dicts
Remove kludge for tags which is now handled by a method