fixed json problem where escaped single quote in string cant be parsed