Fix registry race caused by copying a sync.Mutex

StandardRegistry.MarshalJSON receiver needs to be a pointer to avoid copy.