Changed result data array to use id, value and _score