Move field deletion to modulefile migration

The only reason you should have to delete the checksums and types fields are as part of the migration from Modulefile to metadata.json