@classmethod
def parse_bytes(cls, data: bytes):
    """
        Parse received Protocol IamUpstream Packet from JSON format and convert it into ProtocolUpstream object
        """
    source = data['SOURCE']
    group = data['GROUP']
    metric = data['METRIC']
    metric_preference = data['METRIC_PREFERENCE']
    sn = data['SN']
    return cls(source, group, metric_preference, metric, sn)
