refactor human_message_formatter.rb a bit.