[DROOLS-663] dump output binding for accumulate functions

(cherry picked from commit ec5a12a9eda66c7b2ce457193f3c7656ecdf946f)