can serialize and deserialize using dynamic case class, but only with…
can serialize and deserialize using dynamic case class, but only with class hierchies