Add in support for passing in JSON dumps functions
Merge pull request #413 from alexlatchford/json-dumps

Add in support for passing in JSON dumps functions