Added type sensitive field extractors. This allows resultsets to reflect proper type in js (as opposed to using only string representations)