I'm not sure what 'this' referred to.  If it referred to the return value of tree.export_dict in the doc string example, that has now been fixed.  If not, what did you mean by this?