clean serialized data