Ignore deprecated field during serialization