I guess it's not actually an issue when you're using the API programmatically - quotes are escaped appropriately. I was copying the JSON output into the Python REPL and having issues with quotes not being properly escaped, which made it tough to test things. This recipe works fine though:

```python
import urllib2
url = 'http://localhost:8080/api/counts/idn/10/91?range=2006-01-01,2010-01-01'
data = urllib2.urlopen(url).read()
main(data, url)
```