method Performance.prototype.toJSON

Returns a JSON representation of the performance object.