       dObj = {}
       # save the type of the source object
       type = obj.constructor.name
-      dObj[TYPE_TAG] = type if type isnt 'Object' and type.length > 0
+      dObj[TYPE_TAG] = type if type isnt "Object" and type.length > 0
     # dehydrate the source object into the destination object
     for key of obj
       if obj[key]?

# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#----------------------------------------------------------------------

crypto = require 'crypto'

NO_ERROR    = null
RANGLE      = '»'
TIME_TAG_RE = /^»[0-9]+$/
TYPE_TAG    = RANGLE + 'type'
TYPE_TAG_RE = /^»type$/
UUID_RE     = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/
UUID_TAG_RE = /^»[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/

            else
              context[uuid] = new rObjCons()
          else
            return next new Error("Unregistered constructor #{dObj[TYPE_TAG]}")
        else
          context[uuid] = {}
      # now let's rehydrate the provided JSON into the canonical object
