[search] fix deserialization of search rest API json

Status Job ID Name Coverage
  Test
failed #1906
test

 
Name Stage Failure
failed
test Test There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job trace