Pluggable materialized path library for NodeJS apps using Mongoose