Updating json adapter to handle links
JSHinting