Joining query parameters correctly in get requests