Sync MongoDB collections with JSON files.