Added saving and loading analysis session data to and from json files