read and dump a CSV file as YAML