Use instanceof to decide if request should be interpreted as array.