Consolidate id, diff, and patch into new metadata structure. All datasources have a metadata property that describes the data they manage.