Revert "Assume that format will be specified in the url requested, or default to HTML. Fixes #989."

This reverts commit c1b3324922687778b316ee1a180582013bcf6d0e.