update libjson.h and makefile