Data Wrangling with MongoDB class code