Too Long; Didn't Read
Shapeless is a library for generic programming in Scala. It is largely present in the ecosystem, but mostly behind the scenes. It powers some of the libraries in your project, even though you don’t use it directly. Shapeless can create an Heterogenous List as a generic representation of case classes. We need to transform the request request into a generic type class using shapeless. We will build our solution using ToMap: (ToMap) instead of just ToMap)