add violations formatting helper