Use OrderedDict to order elements in machine description