Strips BOM from response body before attempting to decode JSON or XML