add support for yaml metadata