Output session data as json