Factory method to create key terms from database result sets.
Automatic mapping for models.KeyTerm to read and write from and to json.
Companion object for models.KeyTerm instances.