A generalization of Aeson over Failure