resolve query param arrays