fix the format types for all requests. many endpoints want the .json format if we don't specify and accepts header. the token endpoint requires that the extension be omitted.