now expect JSON response to be array