copy txweb/JsonResource import from scrapy

This copies the JsonResource formerly imported from scrapy.utils.txweb.

closes #60