Thanks.
Its like this:
UserSession.addKey(gameMetric_n, m)
UserSessions.addKey(Date1, UserSession.asJson)
AllUsersSessions.addKey(userName, UserSessions.asJson)
and a few more like these nested within UserSession
In the end i stored AllUsersSessions.asjson into a text file.
So, the total outcome appears like nested wrapped C2 Json