update CMakeLists.txt
fix json package and module's bug