Added type conversion to rowToDict methods