It's a little long because I wanted to preserve the data types as shown in the output in the start file. But instead of outputting the values by type, I could have used a single string column and change the types later. I think that would have been faster.