REST based data access layer with NodeJS and MongoDB