Move menu definition to json file