one does not simply rearrange a dict