Use the MediaType enum annotation rather than hard-coding the MIME type directly.