Modify generated JSON to include the transaction name.