code: def _convert_container(self, container, input_transformer, output_transformer):
          
          output = {}
          for parameter, options in ARG_MAP.items():
              output_name = options.get(self.output_type, {}).get('name')
              output_required = options.get(self.output_type, {}).get('required')
  
              input_name = options.get(self.input_type, {}).get('name')
  
              if container.get(input_name) and \
                      hasattr(input_transformer, 'ingest_{}'.format(parameter)) and \
                      output_name and hasattr(output_transformer, 'emit_{}'.format(parameter)):
                  # call transform_{}
                  ingest_func = getattr(input_transformer, 'ingest_{}'.format(parameter))
                  emit_func = getattr(output_transformer, 'emit_{}'.format(parameter))
  
                  output[output_name] = emit_func(ingest_func(container.get(input_name)))
  
              if not container.get(input_name) and output_required:
                  msg_template = 'Container {name} is missing required parameter "{output_name}".'
                  self.messages.add(
                      msg_template.format(
                          output_name=output_name,
                          output_type=self.output_type,
                          name=container.get('name', container)
                      )
                  )
  
          return output
docs: Converts a given dictionary to an output container definition
  
          :type container: dict
          :param container: The container definitions as a dictionary
  
          :rtype: dict
          :return: A output_type container definition