Implemented DsonNumber serialization.