patched compilation warnings in Jansson 2.6 dependency