src/utils_cgi.[ch]: Implement escape functions for JSON.