Fixes #6 - JSON escaping in resource.curl