router.post('/end', function (req, res) {
    restUtils.processResponse(collector.end(req.headers.authorization, req.body), res);
});