Refactored NavItem to_hash