DML if object value is null, JSON.stringify return string 'null'

if apply object to type of model, NULL Object is changed to String Object by JSON.stringify(), so added  null check