Converts menu into a generic representation. This representation is
converted into a JWM specific menu

This would allows easy conversion to other menus