Add self link to JSON query