Parse response from elastic search and set the data for symfony response.