Typescript Set Object Property Dynamically