xxxxxxxxxx
// convert errors into panics with a MustMarshal function
to deal with handling errors in every marshal
func MustMarshal(data interface{}) []byte {
out, err := json.Marshal(data)
if err != nil {
panic(err)
}
return out
}