Delete duplicates from serialization