Escaping string characters in json