Support more output formats in example