def METHOD_NAME():
    try:
        return list(protocol.dumps(msg, **kwargs))
    except Exception as e:
        logger.info("Unserializable Message: %s", msg)
        logger.exception(e)
        raise