WIP: new-relic: improve NewRelicErrorReporter and json protocol