version from http://medialab.di.unipi.it
ignore tags from commandline, support output to stdout, allow supressing headers