siwtched attrdict to OrderedDict subclass