slightly optimize `map_csv` and avoid ORM overhead