replaced nbmodel.orig_nbformat by orig_nbformat