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