Merge pull request #39 from laurentbristiel/master

Use of json() is more concise/elegant that To JSON