Escapes characters, such as backlash, so that they can be placed in a JSON file without causing problems.