Remove Modulefile duplication from metadata.json.