Fix to_json to not escape json strings