set json-lib as a optional dependency, we will remove this lib in later