Fixing JSON request

I've tried the API endpoint via JavaScript and CURL. However it has issues with the request body. 
This fix should solve these problems and I have it working locally. 
(If this is true, @rfk might need to redeploy this?)

Reference:
http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/narr/webob.html#dealing-with-a-json-encoded-request-body

Let me know!