The idea was indeed that it would convert these to the native JavaScript type. And it properly does so for string (duh), integer and boolean. But it was never implemented properly for number, date and datetime. This wasn't a priority as our controls don't use them and the way DataFlex uses regional settings to convert types to strings was a complicating factor.