Typescript Turn Json Into Object