Fix double-encoding of protobuf; if already byte array, pass along.