Protobufs in http responses

Hello,

We are updating one of our http endpoints to return a protocol buffer. The new response would look something like:

{
    "data": 0,
     "more_data": 1,
     "protobuf": {
         "data": [this is the encoded protobuf data]
       }
}

I tried setting up a gPRC request but could not get it to work. (Importing the proto file did not generate a set of methods and the endpoint is not a true gPRC type endpoint.)

Is there a way to setup a post-response test to decode the protobuf data so I can verify the contents?

Thanks.