code: def out_format(data, out='nested', opts=None, **kwargs):
      '''
      Return the formatted outputter string for the Python object.
  
      data
          The JSON serializable object.
  
      out: ``nested``
          The name of the output to use to transform the data. Default: ``nested``.
  
      opts
          Dictionary of configuration options. Default: ``__opts__``.
  
      kwargs
          Arguments to sent to the outputter module.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' out.out_format "{'key': 'value'}"
      '''
      if not opts:
          opts = __opts__
      return salt.output.out_format(data, out, opts=opts, **kwargsf out_format(data, out='nested', opts=None, **kwargs):
      '''
      Return the formatted outputter string for the Python object.
  
      data
          The JSON serializable object.
  
      out: ``nested``
          The name of the output to use to transform the data. Default: ``nested``.
  
      opts
          Dictionary of configuration options. Default: ``__opts__``.
  
      kwargs
          Arguments to sent to the outputter module.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' out.out_format "{'key': 'value'}"
      '''
      if not opts:
          opts = __opts__
      return salt.output.out_format(data, out, opts=opts, **kwargs)
docs: Return the formatted outputter string for the Python object.
  
      data
          The JSON serializable object.
  
      out: ``nested``
          The name of the output to use to transform the data. Default: ``nested``.
  
      opts
          Dictionary of configuration options. Default: ``__opts__``.
  
      kwargs
          Arguments to sent to the outputter module.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' out.out_format "{'key': 'value'}"