rename field type to dataType