fixes #2947 - make custom output easier to do
Merge pull request #15 from mbacovsky/2947_print_data

fixes #2947 - make custom output easier to do