Update $.json to handle illegal JSON control characters