added support for overriding model attributes in serializer