replace cjson with json-c

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>