added mongoose extend dependency to package.json