Diff two objects of the same type, store the diff as a string that can be later applied as a patch to another object.