Revert "#814: treat json as text"

Testing to see if this breaks pyyhon3.3 tests.

This reverts commit e1f20c0480660a0e24b5229410e463a5c0b530cc.