Switch to using metadata.json