added example showing how to dynamically map a map to case class