improve DecimalSerializer performance