Allow active record objects to be printed