Revert "Add all modules to metadata.json"

This reverts commit 8c2214fb90a858a0248fc4322661be2e722e089f.