Replace type with class.to_s in generating param to avoid deprecation message.
Replace type with class.to_s in generating param to avoid deprecation message.

mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport,mysociety/fixmytransport