code: func RegisterEncoder(encType string, enc Encoder) {
  	encLock.Lock()
  	defer encLock.Unlock()
  	encMap[encType] = enc
  }
docs: // RegisterEncoder will register the encType with the given Encoder. Useful for customization.