Pass in required params to Trans Expl generator

The generated JSON needs to contain several fields on the module
that aren't currently present, including options, order, description
and type_id.

Also fix a bug where I was testing `response` rather than `res`.