Fix# sanitize tags for rendering json record

This will provide a sanitized record for report if rendering not from view.