Add support to send output to collect endpoints

Are you sure you want those huge JSON blob as part of URL?