added yaml header compression support for custom
data