Add mapping functions for massaging individual fields

It's often useful to massage certain fields in the json before exporting it to CSV. I added a `mappers` option to the `params` which allows field specific map functions to be provided. I've also included unit tests.