code: func (b *BaseKvdb) SerializeAll(kvps kvdb.KVPairs) ([]byte, error) {
  	out, err := json.Marshal(kvps)
  	if err != nil {
  		return nil, err
  	}
  	return out, nil
  }
docs: // SerializeAll Serializes all key value pairs to a byte array.