title: convert kotlin data class to string and save in into roomdb
body: <p>i have a data class that serve as a model for sending and receiving api call</p>
  <pre><code>data class NetworkLiveScore(
      val status: String,
      val team_1: TeamOne?,
      val team_2: TeamTwo?,
      val score: Scores,
  )
  
  data class TeamOne(
      val name: String,
  )
  
  data class TeamTwo(
      val name: String,
  )
  
  data class Scores(
      val full_time: FullTime,
  
  )
  
  data class FullTime(
      val team_1: String,
      val team_2: String,
  )
  </code></pre>
  <p>and when i tried inserting it into a roomdb i get type conversion error and i've tried converting it but i just dont seem to get it. Please can anyone help me out.</p>