pathToString = path =>
	path !== null && path.length > 0
		? path.map(part => `[${JSON.stringify(part)}]`).join("")
		: ""
@param {string[]|null} path the property path array
@returns {string} the converted path