Added report parameter to facts.jq

Would it be possible to move this into the reports module? I assume this functionality is needed in many places.