Typescript Remove Escape Character From String To Timestamp