Re-generate metadata.json files.