added code and documentation for libjson-c dependency