Change a bunch of strings to objects