SerializationException + other minor serialization changed

Involves dartcoin/dartcoin-lib#2