Coerce return undefined instead null for object