Added BigInteger / BigDecimal encoding + tests.