format_issues function

Format the issue in a simpler format