Rename model history.history to history.record, history model will check if json document is vaild or not