Trying to prevent the call to "assert(val->IsString())" of nan.h.