code: def mapping_ref(self, es_mappings):
          
  
          new_map = {}
          for key, value in es_mappings.items():
              for sub_key, sub_value in value.items():
                  new_map["/".join([key, sub_key])] = \
                          mapping_fields(sub_value['properties'])
          return new_map
docs: Retruns a dictionary of mappings and the fiels names in dot notation
  
          args:
              mappings: es mapping defitions to parse