Added support for string metadata field for defining a
deriveStringFromNumber function.
Fixed bugs with dataType metadata support.


Change-Id: I4582010799d0d262cbfc42dcce375eba50e00e93
now throwing errors when appropriate

Change-Id: I3fd8ac17edafe391b7ab946c540dfe3444e6fca1