add serialized attributes to models