add libjson source codes and include it in src/Makefile.am