Changed method make_crumbs to support tree node #5665

never take a dictionary as argument and this breaks backward compatibility.