Use a def rather than a val for the JSONCollection