preserve ordering when inserting into ordered dicts