Declarative ODM middleware for meteor.js