@classmethod
def notification_payload(cls, method, params=None):
    """JSON v2  notification payload.  There must be no id."""
    payload = {'jsonrpc': '2.0', 'method': method}
    if params:
        payload['params'] = params
    return payload
