def headerns(target):
    """
    Returns the header_namespace of a target, suffixed with a /, or empty string if no namespace.
    target: JSON map for a target.
    """
    ns = target['headerNamespace'] if 'headerNamespace' in target else ""
    return ((ns + "/") if len(ns) > 0 else "")