Handling 'data' key in response