Support for json-c ; Fixed compile warnings

(cherry picked from commit e481ef3895c5cc679ae94676e433a3b522c8b95f)

Conflicts:
	modules/json/json.c