code: def _apply_post_render_hooks(self, data, obj, fmt):
          
          hooks = self.post_render_hooks.get(fmt,[])
          for hook in hooks:
              try:
                  data = hook(data, obj)
              except Exception as e:
                  self.param.warning("The post_render_hook %r could not "
                                     "be applied:\n\n %s" % (hook, e))
          return data
docs: Apply the post-render hooks to the data.