ADD Some logging
FIX Key to num links may not be anumber
Add content_type. Does not quite work in that the output is not properly formatted