fix: support for integer keys + freeing up allocations for keys
change: examples