Issue with HashMap Key and Data Class in TypeScript - Effect Community