remove control characters from json