Default to JSON if no Accept header provided.