def leafNames(node):
    """Return a list of labels of all leaf descendants of node"""
    if (node['kids']):
        return [ leaf for kid in node['kids'] for leaf in leafNames(kid) ]
    else:
        return [ node['label'] ]