Fixed formatting issues in a json block in reports
Fixed intradocument function links