Refactor menu tree to use arrays (ordered) instead of dictionaries (unordered).
Refactor menu tree to use arrays (ordered) instead of dictionaries (unordered).

google/blockly-devtools,google/blockly-devtools