Simplify Server (a little) by extracting a Format interface.

Replaces the `Format` enum (and corresponding `case` statement) with a `Format`
interface (consisting solely of the `GetParser()` method).