JSON store: Bugfix; ID was NIL for new Sessions.