add support for custom yml format