Change metadata.json to a modulefile