How to use Index Signatures for Dynamic Data -Effective TypeScript