text: const convertJsonToDot = (obj, parent = [], keyValue = {}) => {
    Object.keys(obj).forEach((key) => {
      const keyPath = [...parent, key];
      if (obj[key] !== null && typeof obj[key] === 'object') {
        Object.assign(keyValue, convertJsonToDot(obj[key], keyPath, keyValue));
      } else {
        keyValue[keyPath.join('.')] = obj[key];
      }
    });
    return keyValue;
  };
  
  module.exports = convertJsonToDot;
  