Fix domain circular reference

Prevent newrelic agent from trying to serialize process.domain to JSON.