Typescript Access Nested Property By String