Misc. Updates

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