Set serialization and Content-Type by Accept priority.