Debug: Properly process recursive type (avoid circular reference issues between parent and field types).