avoid copying query parameters on heap