created a slice to remove trailing double-quote if one exists