Move WrapLogger to utils file
Log raw data when validation failure happens
Replace manual text wrap with helper class

Our usage of textwrap was causing extra newlines
at the prefix and suffix of each message. This fixes
that issue and cleans up the codebase a bit