Text this: How can China avoid the middle-incom trap