code: def dump(self, ret):
          
          if self.args.flatten:
              ret = drop_none(flatten(ret))
  
          logger.info('Dump: \n' + json.dumps(ret, cls=AutoJSONEncoder, indent=2 if self.args.indent else None))
docs: Dumps the return value
          :param ret:
          :return: