Changed log transaction from list back to dictionary