fix parse escaped slash error in json. Fixes #669