That code that you are looking at (unless you modified it) is indeed sending back a string designed for JSON consumption or for verifying the output; the return is likely still str(sqlConn.FetchAll()). I believe that you are going to want to remove the "str" wrapper converting to a string and instead use the return directly.
If that doesn't work I can help you in more detail tomorrow.
Adam