String theory as a higher spin theory