Format JSON dates, clean up message bodies.