code: def JsonResponseModel(self):
          
          old_model = self.response_type_model
          self.__response_type_model = 'json'
          yield
          self.__response_type_model = old_model
docs: In this context, return raw JSON instead of proto.