A Transformation mongoDB script