whole_func_string: function _getObjectWithFallback(object, keyProperty, labelProperty) {
    if (hasIn(object, labelProperty)) {
      return object;
    } else if (hasIn(object, keyProperty)) {
      // in case when key property is defined then we overwrite label property value
      return {
        ...object,
        [labelProperty]: object[keyProperty]
      }
    } else {
      return object;
    }
  }
func_code_string: function _getObjectWithFallback(object, keyProperty, labelProperty) {
    if (hasIn(object, labelProperty)) {
      return object;
    } else if (hasIn(object, keyProperty)) {
      // in case when key property is defined then we overwrite label property value
      return {
        ...object,
        [labelProperty]: object[keyProperty]
      }
    } else {
      return object;
    }
  }
func_documentation_string: If object doesn't have  object[labelPropery] -> returns object with [labelProperty] = object[keyProperty]
  
  @param object
  @param keyProperty
  @param labelProperty
  @returns object
  @private