if (typeof this._doc.headers === 'string') {
                    this._doc.headers = JSON.parse(this._doc.headers);
                }