Fixes #250 - correctly handle JSON data in quotations.

It's a quick fix. Proper one comes to master soon.