case class with zero arity is case object - also remove trailing spaces