A small helper to serialize the diff of two structs of the same type and apply those differences to other structs.
Adds validations, function creation, function delegation, and key restrictions to arrays and hashes so that they may function similarly to Structs