Helper function is added to prevent infinite recusion in the inherit model __str__ method.