Fixed incorrect labeling on debug output. Added href & media-type