Handle ConsString for JSON body in ScriptableHttpClient.

Currently a convert function in ScriptableHttpClient doesn't handle the
a ConsString object. This patch fixes the module to handle it.