added another keys to csv function called keys_to_csv1 which outputs the transpose of what key_to_csv outputs