docs: def send_callback_json_message(value, *args, **kwargs):
      """
          useful for sending messages from callbacks as it puts the
          result of the callback in the dict for serialization
      """
  
      if value:
          kwargs['result'] = value
  
      send_json_message(args[0], args[1], **kwargs)
  
      return value