code: 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;
    }
  }
docs: If object doesn't have  object[labelPropery] -> returns object with [labelProperty] = object[keyProperty]
  
  @param object
  @param keyProperty
  @param labelProperty
  @returns object
  @private