Added a basic middlewaare framework for MongoJacket