Fix #1154: snapshot failures are objects, not strings
Merge pull request #1156 from elasticsearch/fix/1154

Fix #1154: snapshot failures are objects, not strings