Twitter has announced it is cutting 336 jobs, roughly 8% of its global workforce, as part of a restructuring of…