Enabling array handling in response object