%for prefix, buro in menu.items():

${buro["name"]}

Prefix: ${prefix}

${buro["desc"]}

%for cmdtxt, cmd in buro["commands"].items(): % if cmdtxt != "test":

${cmd["name"]}

${cmdtxt}
${cmd["barcode"]}

${cmd["desc"]}

% endif %endfor
%endfor