Added new file dataTypes.js

Included is a function which takes an object and returns
an enumerated version of it.