Typescript Get Next Element In Javascript Object To String