Typescript Create Json Object Dynamically