Fixed a bug due to dataType.json not having complete list of primitives