code: func (s *SerializableNamed) UnmarshalJSON(b []byte) error {
  	var raw string
  	if err := json.Unmarshal(b, &raw); err != nil {
  		return errors.Wrapf(err, "invalid named reference bytes: %s", b)
  	}
  	var err error
  	s.Named, err = reference.ParseNamed(raw)
  	return err
  }
docs: // UnmarshalJSON loads the Named reference from JSON bytes