serialize BigDecimal as well - but we lose precision, so is it OK?
The same rule applies with JDBC/PostgreSQL I think