Fix link format in JSON mode