Added case class macro for query params