MenuAPI- Change underlying Map<Integer, MenuItem> into MenuItem[]