Format Argo responses based on Content-Type.