Remove catacharset.h dependency from json.cpp.