unify the multiple implementations of makeBreadcrumb