c json interface in c