Ensure correct content-type for response