Use a def rather than a val for the JSONCollection
Merge pull request #3 from pauldijou/master

Use a def rather than a val for the JSONCollection