Write to case class - first cut working.