Remove magic numbers from Transaction CSV columns

This pull request removes some of the random 'magic numbers' from the code and replaces them with references to a static associative array.