add jsoncpp dep, and finish ls_config.c