Formatting cleanup.
Syntax error prevented saving of attachments.
Add conversion of standard responses.