Updating the mget function in the C++ interface to take a std::vector of