separate headers by comma, include empty strings when needed