Add some better error handling for JSON errors on .amethyst files

Closes #112