Route `serialize` hook argument is the model, not params

I changed the name of the argument to the `serialize` hook from `params` to `model` in the two places it was incorrectly named.

Calling it `params` is super confusing since the _second_ argument to the `serialize` hook is `params`, an array of dynamic segment names.