Organize Blockly modules in recursive folder trees, and this Node.js module will turn it into proper Blockly menu XML.