This is a java script module to generate navigation menus from json data.