Fix json save of inode model