fixed bug in session editor saving json session state