I personally use TypeScript since it has unions and structural typing with native JSON support but really anything can work.
application/json application/json;stream=watch application/vnd.kubernetes.protobuf application/vnd.kubernetes.protobuf;stream=watch application/yaml