redis aggregate output as transactions