Cast mongo id to string