Added some comments to datatype_map
rename json to document