Allow customization of json serialization settings for messages
Merge pull request #4 from danfma/master

Allow customization of json serialization settings for messages