making Set Attribute serialization optional