code: def register(self, type, parser, composer, **meta):
          
          self.registered_formats[type] = {
              'parser': parser,
              'composer': composer,
              'meta': meta,
          }
docs: Registers a parser and composer of a format.
  
          You can use this method to overwrite existing formats.
  
          :param type: The unique name of the format
          :param parser: The method to parse data as the format
          :param composer: The method to compose data as the format
          :param meta: The extra information associated with the format