inspect now handles properties defined as undefined properly