convert header value to string