[#435] Use OrderedDict in sqlalchemy