refactoring of nav_contributors and package_contributors