code: func (z *SeriesPickleItem) EncodeMsg(en *msgp.Writer) (err error) {
  	// map header, size 3
  	// write "path"
  	err = en.Append(0x83, 0xa4, 0x70, 0x61, 0x74, 0x68)
  	if err != nil {
  		return
  	}
  	err = en.WriteString(z.Path)
  	if err != nil {
  		err = msgp.WrapError(err, "Path")
  		return
  	}
  	// write "isLeaf"
  	err = en.Append(0xa6, 0x69, 0x73, 0x4c, 0x65, 0x61, 0x66)
  	if err != nil {
  		return
  	}
  	err = en.WriteBool(z.IsLeaf)
  	if err != nil {
  		err = msgp.WrapError(err, "IsLeaf")
  		return
  	}
  	// write "intervals"
  	err = en.Append(0xa9, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x73)
  	if err != nil {
  		return
  	}
  	err = en.WriteArrayHeader(uint32(len(z.Intervals)))
  	if err != nil {
  		err = msgp.WrapError(err, "Intervals")
  		return
  	}
  	for za0001 := range z.Intervals {
  		err = en.WriteArrayHeader(uint32(len(z.Intervals[za0001])))
  		if err != nil {
  			err = msgp.WrapError(err, "Intervals", za0001)
  			return
  		}
  		for za0002 := range z.Intervals[za0001] {
  			err = en.WriteInt64(z.Intervals[za0001][za0002])
  			if err != nil {
  				err = msgp.WrapError(err, "Intervals", za0001, za0002)
  				return
  			}
  		}
  	}
  	return
  }
docs: // EncodeMsg implements msgp.Encodable