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