[sr-dev] git:5.1:0a885dab: jsonrpcs: Fix memleak with srjson_doc_t