`this.headers` and `this.payload` need to be `JSON.parse(headers.plaintext)` and `JSON.parse(payload.plaintext)` respectively to maintain backward compatibility