text: //From: https://stackoverflow.com/questions/27936772/how-to-deep-merge-instead-of-shallow-merge
  
  function isObject(item) {
    return (item && typeof item === 'object' && !Array.isArray(item));
  }
  
  export default function deepMerge(target, source) {
    let output = Object.assign({}, target);
    if (isObject(target) && isObject(source)) {
      Object.keys(source).forEach(key => {
        if (isObject(source[key])) {
          if (!(key in target))
            Object.assign(output, { [key]: source[key] });
          else
            output[key] = deepMerge(target[key], source[key]);
        } else {
          Object.assign(output, { [key]: source[key] });
        }
      });
    }
    return output;
  }