Added json functionality for menu