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