toJSON() {
    return {
      kuzzleVersion: this.kuzzleVersion,
      name: this.name,
      path: this.path,
    };
  }
This object can be stringified and exported, most notably by the
server:info API action
It's important that only relevant properties are stringified, to
prevent circular JSONs (especially with the kuzzle object ref) and
to prevent leaking important information

@returns {Object}