changed objects to strings and strings to objects.