Diff and patch generic interchange data structures