Correct handling of array values.
Guard for empty response.