Handle ConsString for JSON body in ScriptableHttpClient.

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