@staticmethod
def serialize(dec):
    assert isinstance(dec, decimal.Decimal), 'Received not compatible Decimal "{}"'.format(repr(dec))
    return str(dec)
@staticmethod
def serialize(dec):
    assert isinstance(dec, decimal.Decimal), 'Received not compatible Decimal "{}"'.format(repr(dec))
    return str(dec)