Implementing Marshaler and Unmarshaler interfaces for Macaroon and Caveat.

// MarshalJSON implements json.Marshaler.

comments are almost always whole sentences in Go.