Remove unnecessary ref attributes in Mongoose models