Move message JSONification for extra processing.
Simplify the deletion process (it's idempotent after all).