Wrap data in a transaction object