Add 'matches' key to json response.