use hash_to_csv gem