Update hash-table generation to use string-based keys to minimize potential symbol conflicts