def _serialize_qualifier(key, value):
    """Serialize a Qualifier in a feature.

    Parameters
    ----------
    value : int, str
    """
    if not value:
        return '/%s' % key
    return '/{k}={v}'.format(k=key, v=value)
