add array-output helper mixin