save HTTPD session information in json file