added the option to print the content of the custom "pairs" tag to the csv output