fixed code for 3+ links with same rel
Merge pull request #5 from jpbochi/links_with_same_rel_to_json

fixed code for 3+ links with same rel