Improve prefix reverse-mapping (used by Parsoid API).

Change-Id: I254c26df6786f83f674970f912d042d625be407b