Support for json-c ; Fixed compile warnings

(cherry picked from commit e481ef3895c5cc679ae94676e433a3b522c8b95f)

Conflicts:
	modules/json/json.c

(cherry picked from commit b1ac844e616064666ec807b08c3407f7fb113a24)

Conflicts:
	modules/json/Makefile