Made the header-navbar build itself based on json