Fixed syncing
Ensured that everything is using metadata.uuid instead of _id