Updating json adapter to handle links