Added toString() when interacting with records

Currently the interaction breaks when the model.id is an integer.