> The bug seems to be in this line of yours multipartBody[key] = > $verifiedBody[key]
It should be multipartBody[key] = verifiedBody[key]. Maybe, I don't know. The thing is that verifiedBody is a JsonNode and multipart[key] expects to be set to a string. And setting a jsonNode to a string calls toUgly (on line 820 of [std/json](https://github.com/nim-lang/Nim/blob/devel/lib/pure/json.nim)) which in turn calls escapeJson(on line 729) if the jsonNode kind is a Jstring and the JsonNode is not unquoted.