Fixed deserialization for contacts file