http://jsonfiddle.net/pygc3 Can't save and empty document.