I have am trying to create a recursive data class like so:
data class AttributeId ( val name: String, val id: Int, val children: List