top countries module - support for html and csv output