Corrected potential problem with namespace and JSON constant