json-c: replace deprecated symbols