code: func (e Event) ToContract() *contract.Event {
  	event := contract.Event{
  		ID:       e.ID,
  		Pushed:   e.Pushed,
  		Device:   e.Device,
  		Created:  e.Created,
  		Modified: e.Modified,
  		Origin:   e.Origin,
  	}
  
  	for _, r := range e.Readings {
  		event.Readings = append(event.Readings, r)
  	}
  	return &event
  }
docs: // Returns an instance of just the public contract portion of the model Event.
  // I don't like returning a pointer from this method but I have to in order to
  // satisfy the Filter, Format interfaces.