Fix nested model serializer base class