Added test for CIQ Identity extension. Fixed bugs where super().to_dict() calls weren't behaving properly. Refactored to_dict() methods