John Hopkins, in Maryland's largest city an hour's drive north of the US capital, is eliminating more than 2,000 positions.