#325 Fix BigDecimal serialization