Build server side dynamic menus that render to html or json