Fixes for Typed Params

bunch of logic since a type could be declared in the `params: ` block and in the `url: `