Tool to swap name and memo in OFX bank transaction files

OFX files downloaded from my bank annoyingly are merchant-centric and not useful for customers that wish to download transaction data for importation into financial software. The Name of the transaction is the payment method (Debit Card XXXXX), and the Memo is really the merchant (Fred's Flowers).
I have created a tool that rectifies this and it is now a staple of my Hazel workflow. You can see the code at
https://github.com/PaulWaldo/ofx_swapper
It is a lifesaver for me, and I hope that someone else finds it useful.
I have created a tool that rectifies this and it is now a staple of my Hazel workflow. You can see the code at
https://github.com/PaulWaldo/ofx_swapper
It is a lifesaver for me, and I hope that someone else finds it useful.