[#2212] CID76121:

checked return value
[#2212] CID72472:

'str' can throw a boost exception, so move it inside the try block
[#2212] CID67050:

ies_buf can be freed immediately after the json ingest