Typescript String To Object