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