refactored table formatting into linksDataUtils