model headers to query params