func (cfg ModelConfig) Encode() []byte {
	b, _ := json.Marshal(modelConfigContainer{Geometry: cfg})
	return b
}
Encode encodes a ModelConfig into its JSON representation.
package skin
import (
	"encoding/json"
)
type ModelConfig struct {
	Default string `json:"default"`
	AnimatedFace string `json:"animated_face,omitempty"`
}
type modelConfigContainer struct {
	Geometry ModelConfig `json:"geometry"`
}