recovered alex's upgrade to jansson 2.6