Update transforms.rb

A crappy way to do this since I don't know how to pass the nested value