use json-c for json due to licensing concerns