Added automatic checkout of current json-c lib, and using it in JSON class