Support for objects created via Object.create(null)

Currently `assert.deepEqual` crashes when we compare objects that derive from `null`. This pull request fixes that.