switch to jansson for json