add support for yaml output