copy txweb/JsonResource import from scrapy

This copies the JsonResource formerly imported from scrapy.utils.txweb.
As mentioned in #60