[sr-dev] git:master:3abc650d: jansson: use the core macros for ending string value with '\0' and to restore