function* mapTemplateParamToId(next) {
    if (this.params.reportId === config.get('legacyTemplateId') || this.params.reportId === 'default') {
        this.params.reportId = config.get('defaultTemplateId');
    }
    yield next;