Define PaperScope#paper as a reference to the local scope.

And use it to fix Raster JSON example.