serializer can now define "custom_attributes"