WIP: saving tag groups to mongo db.