The protobuf format uses a test on the content-type to detect if the business data is "text" :
type.startsWith("text/") || "application/json".equals(type) || "application/xml".equals(type)
This will not correct detect other dialects, eg application/foobar+json