Add a parameter for json encoding
Merge pull request #14 from romainbessugesmeusy/master

Add a parameter for json encoding