code: def create_message(username, message):
      
      message = message.replace('\n', '<br/>')
      return '{{"service":1, "data":{{"message":"{mes}", "username":"{user}"}} }}'.format(mes=message, user=username)
docs: Creates a standard message from a given user with the message 
          Replaces newline with html break