Reformat transactions