Suppose you have a collection in MongoDB that looks like this:
{names:[\'James\',\'Mark\',\'Anne\',\'Philip\']}{names:[\'Mark\',\'Vladimir\',\'Greg\']}{names: