def METHOD_NAME(self, obj):
    return {
        # Note: we select_related() the addon, so we don't have extra
        # queries. But that also means the Addon transformers don't run!
        # It's fine (and better for perf) as long as we don't need more
        # complex fields.
        'guid': obj.addon.guid,
    }