MDL-38309 Substitute usage of print_tabs() with renderable tabtree