(maint) switch from Modulefile to metadata.json

Fixes #419