function deepFlatten (nestedObject) {
  const flattenedObject = {}

  _deepFlatten(nestedObject, flattenedObject)

  return flattenedObject
}
Recursively flatten a nested object.
@param {Object} nestedObject
@return {Object} Returns the flattened object