title: Generate JSON report with Cucumber-js 4 when ignoreUncaughtExceptions: false
body: <p>We are using protractor-cucumber-framework and with latest update to CucumberJs v4.0 the json report is not generating if E2E feature fails on any step - json file remains empty. </p>
  
  <p>This only happens when <code>cucumberOpts</code> has parameter <code>ignoreUncaughtExceptions</code> set to  <code>false</code>. The question is how to generate json report on step failure when <code>cucumberOpts: ignoreUncaughtExceptions: false</code>.</p>
  
  <p><code>After</code>, <code>AfterAll</code> hooks are not helpful</p>