rendering out a headers object if needed