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