Enable to override default JSON encoder.
Merge pull request #29 from mefyl/master

Enable to override default JSON encoder.