moved data type conversion to csv readers