[npo] Fix the json extraction (fixes #3282)