modifyFailure (bos/aeson#104)
Simplify the definition of modifyFailure