Typescript Convert Object To Json In Js