fix a bug in dfRowsToList when ints were encoded as nums in data.frame