Implemented DsonObject serialization.