Added a decapsulation method so that it is possible to compare objects within a Ditto object with each other.