Run stylish-haskell to format code
Add Data.List for the function 'intercalate'
extract a function to check for bad metric matches
Use the bad metric function to filter across the metrics if we don't
have an empty array of bad metrics then join all the metric names
together with a space and output this as the text for the CRITICAL
message for Nagios
add utf8-string support
Output the actual JSON of the failed metric data