Move Mapper#dump logic to AttributeSet#dump