added new format for Json, and created a link directive for current logs