correctly serialize BigDecimal's