remove query parameters from query route responses