code: function codify(object) {
      if (object === undefined) {
          return object;
      } else {
          let json = JSON.stringify(object, undefined, "\t");
          // First substitue embedded double quotes with FFFF
          json = json.replace(/\\"/g, "\uFFFF");
          // Now replace all property name quotes
          json = json.replace(/"([a-zA-Z_$][a-zA-Z0-9_$]+)":/g, "$1:");
          // Now replace all other double quotes with single ones
          json = json.replace(/"/g, "'");
          // And finally replace the FFFF with embedded double quotes
          json = json.replace(/\uFFFF/g, "\\\"");
          // Now remove quotes for known code variables
          json = json.replace(/'__dirname'/g, "__dirname");
          return json;
      }
  }
docs: Gulp utils for client packages.