Modified the way that story metadata is added to headers.