cast parameters to array in url::route.