Fixed dumping json - added copying string workaround.

Updated json stat docs. 
It allows to check device state based on timestamp & result of updating stat file.