'Jelly a decimal object.
@param d: a decimal object to serialize.
@type d: C{decimal.Decimal}
@return: jelly for the decimal object.
@rtype: C{list}'

def jelly_decimal(self, d):

    (sign, guts, exponent) = d.as_tuple()
    value = reduce((lambda left, right: ((left * 10) + right)), guts)
    if sign:
        value = (- value)
    return ['decimal', value, exponent]
