refactored to use EJSON.equals
version bumped