def METHOD_NAME(self, instance):
    request = self.context.get('request')
    for version in getattr(self.Meta, 'versioned_fields', {}):
        # if the user has requested a version lower that than in which the
        # field was added, we drop it
        if not utils.has_version(request, version):
            for field in self.Meta.versioned_fields[version]:
                if field in self.fields:
                    del self.fields[field]
    data = super(BaseHyperlinkedModelSerializer, self).METHOD_NAME(
        instance
    )
    return data