Added hook method for adding custom data to the produced JSON map.
Merge pull request #8 from marthursson/master

Hook method to add custom data to JSON event