Fixes a WSGI response issue. Now forcing the response to a json string.