flattenTags(obj, convertToString = false, path = "") {
		if (!obj) return null;

		if (this.opts.safetyTags) {
			obj = safetyObject(obj);
		}

		return Object.keys(obj).reduce((res, k) => {
			const o = obj[k];
			const pp = (path ? path + "." : "") + k;

			if (isObject(o)) Object.assign(res, this.flattenTags(o, convertToString, pp));
			else if (o !== undefined) {
				res[pp] = convertToString ? String(o) : o;
			}

			return res;
		}, {});
	}
Flattening tags to one-level object.
E.g.
 **From:**
	```js
	{
		error: {
			name: "MoleculerError"
		}
	}
 ```

	**To:**
	```js
 {
		"error.name": "MoleculerError"
 }
 ```

@param {Object} obj
@param {boolean} [convertToString=false]
@param {string} [path=""]
@returns {Object}
@memberof BaseTraceExporter