Remove java.math from case class