Use Typescript In Javascript Object To String In Java