Consumes XML, JSON and plain formats as requests.