Turn Array Into String Typescript Map And Set