Implementing Marshaler and Unmarshaler interfaces for Macaroon and Caveat.

return fmt.Errorf("cannot decode verfification id %q: %v", cavJSON.VID, err)