Deleted useless function json_of_link.