Type is a reserved word in Scala, if you try to generate a case class for something like: `{"type": "a"}` it will not compile. Solution: generate case class code with back ticks, like: ``type``