Handle arrays in responses