Convert String Into Json Object In Typescript Enumerations Clause