Move menu definition to json file

A bit silly to have such a large structure in a code file :/