Lift and mongoDB template