Revert "indexofmetals: try encoding fix"

This reverts commit d5fded5db7c041768c2e9ce3f3555c792eb8c95a.