code: func (ar *avroRecord) createObjectFromRecord(record interface{}) error {
  	jsonObj, err := json.Marshal(record)
  	if err != nil {
  		fwColLog.Debugf("Bad record:\n%s", record)
  		return err
  	}
  
  	fwColLog.Debugf("JSON Record:\n%s", string(jsonObj))
  	return json.Unmarshal(jsonObj, &ar)
  }
docs: // *avroRecord.createObjectFromRecord creates a JSON implementation of the avro
  // record, then serializes it to our known avroRecord type.