74ffb85467
This was broken in the Protobuf refactor. The reason is that with the previous library, generated types would have a JSON marshalling method that would automatically return strings for enums. In the current library you need to use the jsonpb marshaller for that, but these are hand crafted structs so we can't do that. The easy solution is to just use strings directly, since this is an API-only type anyway.