fixed issue with ordereddict in python < 2.7, added rname support also for fields