Make it compile with jansson 2.X