@classmethod
def notification_payload(cls, method, params=None):
    """JSON v1  notification payload.  Params and id are mandatory."""
    return {'method': method, 'params': params or [], 'id': None}
