json response are received as arrays