Define transform to turn strings into JSON objects
Fix typo in transform
Make transform work
Make transform work