Serialize attributes individually