jansson: change function test to be sure of version