enhanced and renamed toDictionary to omap
0.2.0