[scala] [streaming] Added groupBy support for case class fields