added JSON stringify / parse to shared data handling