#6 improved efficiency

reversed key:value storing order — more entries but easier to parse.
This lead to removal of for loop—greater efficiency