code: def generate_default_profile():
      
      data_format = {}
      for hazard in hazard_all:
          if exposure_population in hazard['disabled_exposures']:
              continue
          data_format[hazard['key']] = {}
          for classification in hazard['classifications']:
              data_format[hazard['key']][classification['key']] = OrderedDict()
              for the_class in classification['classes']:
                  entry = {
                      'affected': the_class['affected'],
                      'displacement_rate': the_class['displacement_rate'],
                  }
                  data_format[hazard['key']][classification['key']][the_class[
                      'key']] = entry
  
      return data_format
docs: Helper to create data format from default definitions.
      Example:
  
          Flood:
              - Flood classification A
                  - Flood class 1: affected, displacement_rate
                  - Flood class 2: affected, displacement_rate
              - Flood classification B
                  - Flood class 1: affected, displacement_rate
                  - Flood class 2: affected, displacement_rate
          Earthquake:
              - EQ classification A
                  - EQ class 1: affected, displacement_rate
                  - EQ class 2: affected, displacement_rate
              - EQ classification B
                  - EQ class 1: affected, displacement_rate
                  - EQ class 2: affected, displacement_rate
  
      :returns: A dictionary like the format above.
      :rtype: dict