Cast objects passed into the .where method to the string