Generate menu json and display it on front;