Api fix

Currently, the json API returns things in the form {'results': {'results': the actual results}}

That's silly. This fixes that.