Added serialization of attribute list