Fix bug with serializer not having access to the response object