Fix metadata.json file