def to_tuple(self):
return dict2tuple(self)<EOL>
Turn an extended sorted dictionary of the form used by DINGO
(i.e., a key is mapped to either another dictionary,
a list or a value) into a tuple-representation.
This is useful for providing a standard python object that
observes the order of elements (which standard dictionaries don't).