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