Misc. Updates

* Don't pass env to hook functions, pass the model instead
* Pass request.env to #to_json in case it's desired to override
  the serializer's behavior based on something in the request's environment