Created a function to set all the PFObjects to an array with just the strings of the names