Add support to send output to collect endpoints