Allows for json arrays to be compared using =~

This should address intermittent failures where a json list is returned in the response body and order is not guaranteed