I have a question about best practices, I have some models which I want to add a "getKeys(): List<string>" which are their properties, "getValue(String)" which gets the value and "toCSV(): String", is it better practice to make an extension on JsonModel, or create a class that extends JsonModel and implements those 3 functions?