def get_root_name(nodes):
    """ Find the root of the hierarchy.
    
    :param nodes: Dictionary with skeleton hierarchy.
    :type nodes: dict
    :return: Name of root joint.
    :rtype: str
    """
    for joint, properties in nodes.items():
        if not properties['parent']:
            return joint
    return None