Add :Format to format blocks of JSON and XML.

/ht http://superuser.com/a/422024 for the `perl`.