Fix invalid JSON when both results and errors present in response
CBIDXT-309: Rename LSM to GSI